using FluentNHibernate.Mapping;
using RMH.Entities;

namespace RMH.DataAccess.Mappings
{
    public class RoomMap: ClassMap<Room>
    {
        public RoomMap()
        {
            Id(x => x.Id);
            Map(x => x.RoomNumber);
			Map(x => x.StartDate);
            HasMany(x => x.Stays);
        }
    }
}